﻿// Sequin.Sequences.IO.ISequenceReader
//
// (c) 2011 Arthur Pitman
//
// Part of the Sequin Library
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License (Version 2.1) as published by the Free Software Foundation.
// 
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public
// License (Version 2.1) along with this library; if not, write to the 
// Free Software Foundation, Inc., 
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
// or see <http://www.gnu.org/licenses/>.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sequin.Sequences.IO
{
    /// <summary>
    /// Interface for sequence readers
    /// </summary>
    public interface ISequenceReader
    {
        /// <summary>
        /// Reads a <see cref="Sequence"/>
        /// </summary>
        /// <returns>A <see cref="Sequence"/> or <c>null</c> if no more can be read</returns>
        Sequence ReadSequence();
    }
}
